<?php
/**
 * Enter description here ...
 * @author Micou13630
 *
 */
class IsOneOfValidator extends ValidatorType {
	
	/**
	 * Constructeur
	 * @param array $list
	 */
	public function IsOneOfValidator(array $list, $errorMessage = null) {
		parent::ValidatorType(Constant::VALIDATOR_TYPE_ISONEOF);
		
		$this->list = $list;
		$this->errorMessage = $errorMessage;
	}
}
?>